package com.mdd.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mdd.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("order_change_repayment_date_record")
@ApiModel("还款日期修改记录实体")
public class ChangeRepaymentDateRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "编码")
    private String repaymentDateRecordNo;

    @ApiModelProperty(value = "还款计划编码;仅在选定指定账单下生效")
    private String repaymentPlanNo;

    @ApiModelProperty(value = "选择账单类型;选择账单：1、指定账单 2、所有逾期")
    private String selectBillingType;

    @ApiModelProperty(value = "新还款日期")
    private String newRepaymentDate;

    @ApiModelProperty(value = "备注")
    private String remarks;
}
